package com.cats.template.sys.exception;


import com.cats.template.sys.enums.ResponseEnum;

/**
 * @author duxiaobo
 * @date 2021/9/81:33 下午
 */
public class FindException extends CatException {
    public FindException(String message) {
        super(ResponseEnum.ERROR.getCode(), message);
    }

    public FindException(int code, String message) {
        super(code, message);
    }

    public FindException(ResponseEnum responseEnum) {
        super(responseEnum.getCode(), responseEnum.getMsg());
    }


}
